package com.netease.jichu;

import com.mysql.jdbc.Blob;

public class Product {
	private int id;
	private double price;//当前价格
	private String title;//标题
	private String image;//图片，此处为地址blob
	private String summary;//摘要
	private String detail;//全文
	private boolean isBuy;
	private boolean isSell;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public String getSummary() {
		return summary;
	}
	public void setSummary(String summary) {
		this.summary = summary;
	}
	

//	public Byte getDetail() {
//		return detail;
//	}
//	public void setDetail(Byte detail) {
//		this.detail = detail;
//	}

	public boolean getisBuy() {
		return isBuy;
	}
	public String getDetail() {
		return detail;
	}
	public void setDetail(String detail) {
		this.detail = detail;
	}
	public void setBuy(boolean isBuy) {
		this.isBuy = isBuy;
	}
	public boolean getisSell() {
		return isSell;
	}
	public void setSell(boolean isSell) {
		this.isSell = isSell;
	}
}
